package com.android.fitcontrol.bean;

public class Training {
	
	public final static String TABLE_NAME = "training";
	
	public final static String _ID = "_id";
	public final static String DATE = "date";
	public final static String USER_ID = "user_ID";
	
	public final static int NUM_ID = 0;
	public final static int NUM_DATE = 1;
	public final static int NUM_USER_ID = 2;
	
	private int _id;
	private long date;
	private int user_ID;
	
	public int get_ID() {
		return this._id;
	}
	public void set_ID(int training_ID) {
		this._id = training_ID;
	}
	public long getDate() {
		return date;
	}
	public void setDate(long date) {
		this.date = date;
	}
	public int getUser_ID() {
		return user_ID;
	}
	public void setUser_ID(int user_ID) {
		this.user_ID = user_ID;
	}
	public void mergeIntoObject(Training training){
		this.set_ID(training.get_ID());
		this.setDate(training.getDate());
		this.setUser_ID(training.getUser_ID());
	}
}
